package com.atguigu.gmall.pay.service;

import com.alipay.api.AlipayApiException;

import java.util.Map;

public interface PayService {
    String alipaySubmit(Long orderId) throws AlipayApiException;
    //通过验签，验证该回调是否是支付宝发出的
    Boolean checkAliPaySign(Map<String, String> params) throws AlipayApiException;
    //根据订单号查询订单状态
    String checkOrderStatus(String outTradeNo) throws AlipayApiException;
}
